package cn.imnaer.service.rest.template;

import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;

/**
 * Created by Administrator on 2015/6/3.
 */
@Path(value = "/template/shareWeixin")
public interface ShareWeiXinComponentRestApi {
    @GET
    @Path("/shareScenic/{scenicId}")
    @Produces("text/html;charset=UTF-8")
    public String shareScenic(@PathParam("scenicId") String scenicId);

    @GET
    @Path("/shareSharePhoto/{sharePhotoId}")
    @Produces("text/html;charset=UTF-8")
    public String shareSharePhoto(@PathParam("sharePhotoId") String sharePhotoId);
    @GET
    @Path("/shareTravelNote/{travelNoteId}")
    @Produces("text/html;charset=UTF-8")
    public String shareTravelNote(@PathParam("travelNoteId") String travelNoteId);

    @GET
    @Path("/shareInvitation")
    @Produces("text/html;charset=UTF-8")
    public String shareInvitation();

    @GET
    @Path("/js/{jsFile}.js")
    @Produces("text/html;charset=UTF-8")
    public String loadJs(@PathParam("jsFile") String jsFile);

    @GET
    @Path("/images/{imageFile}.jpg")
    @Produces("images/png")
    public byte[] loadJpg(@PathParam("imageFile") String imageFile);

    @GET
    @Path("/images/{imageFile}.png")
    @Produces("images/png")
    public byte[] loadPng(@PathParam("imageFile") String imageFile);
}
